/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Communication;

import Const.ClientConst;
import java.io.Serializable;

/**
 *
 * @author q530
 */
public class S2ClientPacket implements Serializable {
    private int currentFloor;
    private int currentDirection;
    private int currentState;

    public S2ClientPacket(int currFloor, int currDir, int currentState){
        this.currentDirection = currDir;
        this.currentFloor = currFloor;
        this.currentState = currentState;
    }

    /**
     * @return the currentFloor
     */
    public int getCurrentFloor() {
        return currentFloor;
    }

    /**
     * @return the currentDirection
     */
    public int getCurrentDirection() {
        return currentDirection;
    }

    public int getCurrentState() {
        return currentState;
    }

}
